package com.manage.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_integration_history")
@ApiModel(value = "积分记录",description = "积分记录")
public class TbIntegrationHistory {
  private static final long serialVersionUID = 1L;
  @TableId(value = "id", type = IdType.AUTO)
  private long id;
  @ApiModelProperty(value = "会员客户ID")
  private long memberId;
  @ApiModelProperty(value = "创建记录时间")
  private String createTime;
  @ApiModelProperty(value = "积分变化类型 1 加 2 减")
  private long changeType;
  @ApiModelProperty(value = "积分改变数量")
  private long changeCount;
  @ApiModelProperty(value = "操作人员")
  private String operateMan;
  @ApiModelProperty(value = "操作备注")
  private String operateNote;
  @ApiModelProperty(value = "积分来源：0->自己服务消费金额；1->参与官方活动")
  private long sourceType;

}
